package com.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.entity.User;

public interface UserService extends IService<User> {
    User findByUsername(String username);
    
    User register(User user);
    
    User updateUser(User user);
    
    void deleteUser(Long id);
    
    User findById(Long id);
    
    long getUserCount();
} 